package com.example.rx.rxtest.dagger;

import com.example.rx.rxtest.MainActivity;
import com.example.rx.rxtest.MyApplication;

import javax.inject.Singleton;

import dagger.Component;

/**
 * @author LiuChao
 * @describe
 * @date 2016/12/27
 * @contact email:450127106@qq.com
 */
@Component(modules = {ApplicationModel.class})
public interface AppComponent {
    MyApplication getMyApplication();
    @Singleton
    void inject(MainActivity mainActivity);
}
